<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.springside.modules.security.springsecurity.SpringSecurityUtils"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="pageHeader">
	<div class="searchBar">
		<div class="subBar">
			<ul>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" multLookup="role" warn="请选择角色">
								选择带回
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="pageContent">
	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="30">
					<input type="checkbox" class="checkboxCtrl" group="role" />
				</th>
				<th width="180">
					角色名称
				</th>
				<th>
					角色描述
				</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="allRoleList" status="st">
				<tr target="sid_user" rel="${id}">
					<td>
							<input type="checkbox" name="role" value="{roleIds:'${id }', roleNames:'${name}'}" />
					</td>
					<td>
						${name}
					</td>
					<td>
						${authNames}
					</td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</div>
